home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / etc / ssl / misc / c_info < prev    next >
Text File  |  2006-04-25  |  152b  |  13 lines

  1. #!/bin/sh
  2. #
  3. # print the subject
  4. #
  5.  
  6. for i in $*
  7. do
  8.     n=`openssl x509 -subject -issuer -enddate -noout -in $i`
  9.     echo "$i"
  10.     echo "$n"
  11.     echo "--------"
  12. done
  13.